-- GENERATED SPELL FOR [Shadowsword Deathbringer] --


function spell0_25485(pUnit, Event) --@Disease Buffet,n/a--
pUnit:FullCastSpellOnTarget(46481,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25485', 21500, 1)
end

function Sorts_25485(pUnit, Event)
local choix_sorts_25485 = math.random(0, 0)
if choix_sorts_25485 == 0 then
pUnit:RegisterEvent('spell0_25485', 1, 1)
end
end

function mob25485_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25485', math.random(1500, 3000), 1)
end

function mob25485_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25485_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25485_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25485, 1, 'mob25485_Action')
RegisterUnitEvent(25485, 2, 'mob25485_Leave')
RegisterUnitEvent(25485, 3, 'mob25485_Kill')
RegisterUnitEvent(25485, 4, 'mob25485_Die')
